package main

import "fmt"

func main() {
	s1 := "hello"
	s2 := "world"

	s3 := s1 + " " + s2
	fmt.Println("s3=", s3)

	// 修改方式1
	temp := []byte(s1)
	temp[0] = 'm'
	s4 := string(temp)
	fmt.Println("s4=", s4)

	// 修改方式2
	s5 := "m" + s1[1:]
	fmt.Println("s5", s5)

	var str byte = 'a'

	s6 := string(str) + "bc"

	fmt.Println("s6", s6)
}
